<div class="default-product-conatainer">
	<div class="clearfix">
		<div class="pull-left">
			<div class="default-product-img-container">
				<a href="products.php?action=view&product=<?php echo($productObj["product_id"]); ?>">
					<img src="img/product/<?php
						if(empty($productObj["product_file_name"]))
						{
							echo("noproduct.gif");
						}
						else
						{
							echo $productObj["product_file_name"];
						} 
					?>">
				</a>
			</div>
		</div>
		<div class="pull-left">
			<div class="default-product-name">
				<a href="products.php?action=view&product=<?php echo($productObj["product_id"]); ?>">
					<?php if(empty($productObj["product_name"])){echo "N/A";}else{echo $productObj["product_name"];} ?>
				</a>
			</div>
			<div class="default-product-model">
				<?php if(empty($productObj["product_model"])){echo "N/A";}else{echo $productObj["product_model"];} ?>
			</div>
			<div class="clearfix">
				<div class="default-product-instock pull-left">
					<?php if(empty($productObj["product_amount_in_stock"])){echo "In Stock N/A";}else{echo $productObj["product_amount_in_stock"]." in stock" ;} ?>
				</div>
				<div class="default-product-unitprice pull-right">
					<?php if(empty($productObj["product_unit_price"])){echo "N/A";}else{echo "$".$productObj["product_unit_price"];} ?>
				</div>
			</div>
			<div>
				Sold by <a href="profile.php?id=<?php echo($productObj["sold_by_user_id"]); ?>"><?php if(empty($productObj["sold_by_username"])){echo "N/A";}else{echo $productObj["sold_by_username"];} ?></a>
			</div>
			<div>
				<a class="btn btn-primary" href="products.php?action=view&product=<?php echo($productObj["product_id"]); ?>">Buy Now</a>
			</div>
		</div>
	</div>
</div>